package com.koron.order.risk.keyPoint.bean.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.koron.order.risk.base.excel.RiskAutoConvertor;
import com.koron.order.risk.base.excel.RiskStringStringConvertor;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author jzp
 * @since 2023/1/16
 */
@Data
public class LineRiskKeyPointExcel {

    /**
     * 标题
     */
    @ExcelProperty(index = 0)
    @ApiModelProperty("标题")
    private String title;

    @ExcelProperty(index = 1, converter = RiskAutoConvertor.class)
    @ApiModelProperty(value = "关键级,[1I, 2II]")
    private Integer keyLevel;

    /**
     * 线路名称
     */
    @ExcelProperty(index = 2)
    @ApiModelProperty("线路名称")
    private String equipmentName;

    @ExcelProperty(index = 3)
    @ApiModelProperty("塔段")
    private String lineRiskPartStr;

    /**
     * 风险子类
     */
    @ExcelProperty(index = 4)
    @ApiModelProperty("风险子类")
    private String riskType;

    /**
     * 风险关键字
     */
    @ExcelProperty(index = 5)
    @ApiModelProperty("风险关键字")
    private String riskKeyword;

    /**
     * 风险等级 risk_level
     */
    @ExcelProperty(index = 6, converter = RiskStringStringConvertor.class)
    @ApiModelProperty("风险等级 risk_level")
    private String riskLevel;

    /**
     * 备注
     */
    @ExcelProperty(index = 7)
    @ApiModelProperty("关键点说明")
    private String pointMark;

    /**
     * 备注
     */
    @ExcelProperty(index = 8)
    @ApiModelProperty("备注")
    private String remark;

}
